interface Recipe {
    id?: string
    title: string
    description: string
    image?: string
    cookTime: number
    rating: number
    isFavorite: boolean
}


interface Ingredient {
    id?: string
    name: string
    amount: string
}

interface Step {
    id?: string
    description: string
    stepOrder: number
    image?: string
}


interface AddRecipeForm {
    title: string
    description: string
    imageUrl: string
    cookTime: number
    servings: number
    difficulty: string
    ingredients: Ingredient[]
    steps: Step[]
}

interface RecipeDetail {
    id: string
    title: string
    description: string
    imageUrl: string
    cookTime: number
    rating: number
    servings: number
    isFavorite: boolean
    ingredients: Ingredient[]
    steps: Step[]
}

interface RecipeComment {
    id: string
    userName: string
    userAvatar: string
    text: string
    time: string
}
